package com.blog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Hello world!
 *
 * @author CrazyTobis
 */
@EnableCaching
@EnableSwagger2
@SpringBootApplication
@MapperScan("com.tcj.blog.mapper")
@ComponentScan(basePackages = {"com.blog.user.controller", "com.blog.user.config", "com.tcj.blog.service","com.blog.redis","com.tcj.blog.config"})
public class App
{
    public static void main( String[] args )
    {
       SpringApplication.run(App.class, args);
    }
}
